package zpin.model;

import java.util.Set;

import org.compass.annotations.Searchable;
import org.compass.annotations.SearchableId;
import org.compass.annotations.SearchableProperty;

@Searchable
public class Engage {
	@SearchableId
	private Long id;
	@SearchableProperty(name = "name")
	private String name;
	@SearchableProperty(name = "address")
	private String address;
	@SearchableProperty(name = "tel")
	private int tel;
	@SearchableProperty(name = "contectperson")
	private String contectperson;
	@SearchableProperty(name = "information")
	private String information;

	private City city;

	private Type type;

	private Company company;

	private Set<Resume> resumes;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public int getTel() {
		return tel;
	}

	public void setTel(int tel) {
		this.tel = tel;
	}

	public String getContectperson() {
		return contectperson;
	}

	public void setContectperson(String contectperson) {
		this.contectperson = contectperson;
	}

	public String getInformation() {
		return information;
	}

	public void setInformation(String information) {
		this.information = information;
	}

	public City getCity() {
		return city;
	}

	public void setCity(City city) {
		this.city = city;
	}

	public Type getType() {
		return type;
	}

	public void setType(Type type) {
		this.type = type;
	}

	public Company getCompany() {
		return company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public Set<Resume> getResumes() {
		return resumes;
	}

	public void setResumes(Set<Resume> resumes) {
		this.resumes = resumes;
	}

}
